<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" isELIgnored="false"%>
<%@ taglib prefix="c"  uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt"  uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags" %>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no" />
    <title>
    	<spring:message code="head.clothGarment"></spring:message>
	    -
	    <spring:message code="head.subjectClassification"></spring:message></title>
    <link href="${pageContext.request.contextPath }/phone/css/list.css" rel="stylesheet" />
</head>
<body>
    <div>
        <!--头部--有分类-->
        <div class="cate_header">
            <div class="top"><spring:message code="head.subjectClassification"></spring:message></div>
        </div>

        <div role="main" class="main" style="margin-top:65px;background:#F0F0F2;">
            <!--主题-->
            <div class="zhuti">
                <ul>
	                <c:forEach items="${list }" var="th">
	                    <li>
	                        <a href="${pageContext.request.contextPath }/api/theme/details?id=${th.id}">
	                            <div class="img_squre" style="background-image:url(${pageContext.request.contextPath }/upload/compression/${th.img });"></div>
	                            <div class="content">
	                                <h4>${th.name }</h4>
	                                <p>${th.info }</p>
	                            </div>
	                            <div class="clr"></div>
	                        </a>
	                    </li>
                    </c:forEach>
                    <div class="clr"></div>
                </ul>
            </div>
            <!--主题-->

        </div>
    <script src="${pageContext.request.contextPath }/phone/js/jquery-1.8.3.min.js"></script>
        <jsp:include page="../main/bottom.jsp"><jsp:param name="bottom" value="2"/></jsp:include>
   </div>
</body>
</html>
